import { createWebHashHistory, createRouter } from 'vue-router'
const hash = createWebHashHistory()
const router = createRouter({
    history:hash, // 路由模式
    routes: [
        {
            // 页面逻辑
            path: '/',
            name: 'HomeIndex',
            component: () => import('@/components/HomeIndex')
        }, {
            // 页面逻辑
            path: '/CustomerList',
            name: 'CustomerList',
            component: () => import('@/components/CustomerList')
        }
    ]
})

export default router;